how to take last entry in database in laravel Method ONe

86

how to take last entry in database in laravel Method ONe -

$last = DB::table('items')->latest()->first();

Comments

Submit
0 Comments